package com.repair.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("repairman_location")
public class RepairmanLocation {
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private Long repairmanId;
    
    private Double latitude;
    
    private Double longitude;
    
    private Integer status; // 0: 在线, 1: 离线
    
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
} 